import {

} from '@ant-design/icons';

type CompMenuType = {
	title: string;
	items: {
		icon: any;
		name: string;
		key: string;
		fontSize?:number
	}[];
}
const compMenusData: CompMenuType[] = [
	{
		title: '基础字段',
		items: [
			{
				name: "文本组件",
				icon: 'iconfont icon-wenben',
				key: 'input'
			},
			{
				name: "单选按钮组",
				icon: 'iconfont icon-danxuan',
				key: 'radio'
			},
			{
				name: "下拉选择",
				icon: 'iconfont icon-pulldown',
				key: 'select'
			},
			{
				name: "日期选择",
				icon: 'iconfont icon-riqi',
				key: 'datePicker'
			},
			{
				name: "日期范围",
				icon: 'iconfont icon-riqi',
				key: 'dateRange'
			},
			{
				name: "复选框组",
				icon: 'iconfont icon-fuxuankuang_xuanzhong',
				key: 'checkbox'
			},
			{
				name: "分割线",
				icon: 'iconfont icon-fengexian',
				key: 'splitLine'
			},
			{
				name: "占位块",
				icon: 'iconfont icon-zhanweifu',
				key: 'placeBlock'
			}
		]
	},
	{
		title: '增强字段',
		items: [
			{
				name: "附件",
				icon: 'iconfont icon-yunduanshangchuan',
				key: 'upload',
			},
			{
				name: "子表单",
				icon: 'iconfont icon-zibiaodan',
				key: 'subForm',
			}
		]
	},
	{
		title: '部门成员字段',
		items: [
			{
				name: "人员选择",
				icon: 'iconfont icon-renyuanfenbu',
				key: 'staffTree',
			},
			{
				name: "组织架构选择",
				icon: 'iconfont icon-tubiaozhizuomoban-33',
				key: 'orgTree'
			}
		]
	}
]
export default compMenusData;